﻿
Namespace YahooManaged.Geo.PlaceFinder


    Public Enum PlaceFinderError
        NoError = 0
        FeatureNotSupported = 1
        InternalProblemDetected = 10
        NoInputParameters = 100
        AddressDataNotRecognizedAsValidUTF8 = 102
        InsufficientAddressData = 103
        UnknownLanguage = 104
        NoCountryDetected = 105
        CountryNotSupported = 106
    End Enum


    Public Enum AddressQualitiy
        Coordinate = 99
        POI = 90
        AddressMatchWithStreetMatch = 87
        AddressMismatchWithStreetMatch = 86
        AddressMatchWithStreetMismatch = 85
        AddressMismatchWithStreetMismatch = 84
        IntersectionWithStreetMatch = 82
        IntersectionWithStreetMismatch = 80
        ''' <summary>
        ''' Zip+4 in US
        ''' </summary>
        ''' <remarks></remarks>
        PostalUnit_Segment_Zip4_in_US = 75
        ''' <summary>
        ''' Zip+4 in US
        ''' </summary>
        ''' <remarks></remarks>
        PostalUnit_Segment_StreetIgnored = 74
        StreetMatch = 72
        StreetMatch_AddressIgnored = 71
        StreetMismatch = 70
        ''' <summary>
        ''' Zip+2 in US
        ''' </summary>
        ''' <remarks></remarks>
        PostalZone_Sector_StreetIgnored = 64
        AOI = 63
        Airport = 62
        ''' <summary>
        ''' Zip Code in US
        ''' </summary>
        ''' <remarks></remarks>
        PostalDistrict = 60
        ''' <summary>
        ''' Zip Code in US
        ''' </summary>
        ''' <remarks></remarks>
        PostalDistrict_StreetIgnored = 59
        Neighborhood = 50
        Neighborhood_StreetIgnored = 49
        CityTownLocality = 40
        CityTownLocality_NeighborhoodIgnored = 39
        County = 30
        County_CityTownLocalityIgnored = 29
        StateProvince = 20
        StateProvince_CountyIgnored = 19
        Country = 10
        Country_StateProvinceIgnored = 9
        NotAnAddress = 0
    End Enum

End Namespace